com\cminds\maplocations\model\Route D

Total Complexity 147
Dependencies 13
Dependents 17
Total lines 841
Lines of code 592
Logical lines of code 279
Comment lines 23
Methods 68
Properties 6

Methods 68

Method Rating Maintainability Complexity Lines of code
checkAccess()
A
53 9 22
findLocationByAddress()
A
55 8 18
importCategoriesNames()
A
56 8 17
getFormattedDistance()
S
56 6 18
getIconUrl()
S
60 6 13
setImages()
S
56 5 15
updateLocationsAltitudes()
S
61 5 12
canEdit()
S
60 5 12
formatLength()
S
58 4 16
setCategoriesNames()
S
61 4 12
addDefaultCategory()
S
61 4 12
registerQueryOrder()
S
59 3 16
getIndexMapJSLocations()
S
50 2 28
formatTime()
S
61 3 12
getLocation()
S
64 3 11
save()
S
64 3 11
getImagesIds()
S
57 2 17
getLocationsIds()
S
59 2 15
getAddress()
S
68 3 8
getLocations()
S
59 2 14
getJSLocations()
S
51 1 27
didUserRate()
S
61 2 12
getRelatedRoutes()
S
52 1 26
getPostTypeLabels()
S
55 1 18
getPostalCode()
S
74 2 5
canCreate()
S
64 2 10
getCategories()
S
68 2 7
getIconSize()
S
73 2 5
formatElevation()
S
66 2 8
getImages()
S
70 2 7
getShortDescription()
S
67 2 7
formatSpeed()
S
67 2 7
canView()
S
66 2 9
canViewIndex()
S
65 2 9
rate()
S
64 2 9
setViews()
S
76 1 4
getViews()
S
78 1 3
incrementViews()
S
80 1 3
getLong()
S
81 1 3
getEditUrl()
S
74 1 5
setLong()
S
80 1 3
getPermalink()
S
78 1 3
getInstance()
S
80 1 3
acceptByModerator()
S
72 1 5
trashByModerator()
S
76 1 4
isAcceptedByModerator()
S
80 1 3
setLocationCache()
S
77 1 4
getLat()
S
81 1 3
setLat()
S
80 1 3
getRate()
S
80 1 3
setWeatherPerLocation()
S
79 1 3
getTags()
S
79 1 3
getUserEditUrl()
S
79 1 3
canRate()
S
76 1 4
canDelete()
S
81 1 3
getVotesNumber()
S
69 1 7
init()
S
75 1 4
getUserDeleteUrl()
S
71 1 6
getIcon()
S
80 1 3
setIconUrlCache()
S
77 1 4
setCategories()
S
78 1 3
setIcon()
S
80 1 3
setIconSize()
S
80 1 3
showWeatherPerLocation()
S
80 1 3
updateRatingCache()
S
65 1 9
getPaginationLimit()
S
80 1 3
getPostMetaKey()
S
83 1 3
getShortcodeTokensFuncMap()
S
67 1 8